From: Jennifer Herbert Date: Fri, 29 Jan 2016 16:52:23 +0000 (+0100) Subject: spinlock: shrink struct lock_debug X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1850 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=e73460f8636160779fbaded71fa739c1c615c9a6;p=xen.git spinlock: shrink struct lock_debug Reduce the size of struct lock_debug so increases in other lock structures don't increase the size of struct domain too much. Signed-off-by: Jennifer Herbert Signed-off-by: David Vrabel --- diff --git a/xen/include/xen/spinlock.h b/xen/include/xen/spinlock.h index 8b2590f516..22c4fc2b22 100644 --- a/xen/include/xen/spinlock.h +++ b/xen/include/xen/spinlock.h @@ -8,7 +8,7 @@ #ifndef NDEBUG struct lock_debug { - int irq_safe; /* +1: IRQ-safe; 0: not IRQ-safe; -1: don't know yet */ + s16 irq_safe; /* +1: IRQ-safe; 0: not IRQ-safe; -1: don't know yet */ }; #define _LOCK_DEBUG { -1 } void spin_debug_enable(void);